<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2024/10/14
  Time: 22:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
  <title>Person JSP</title>
</head>
<body>
<jsp:useBean
        id="person"
        class="com.chapter5.bean.bean.Book"
        scope="page">
  <ul>
    <li>姓名:
      <jsp:getProperty name="person" property="name"/>
    </li>
    <li>
      性别:
      <jsp:getProperty name="person" property="sex"/>
    </li>
    <li>
      年龄:
      <jsp:getProperty name="person" property="age"/>
    </li>
    <li>
      已婚:
      <jsp:getProperty name="person" property="married"/>
    </li>
  </ul>
</jsp:useBean>
</body>
</html>
